module.exports = {
    publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
    devServer: {
        open: true,
        proxy: {
            '/api': {
                target: 'http://macio.ncyateng.com',
                ws: true,
                changeOrigin: true,
                pathRewrite: { '^/api': '' },
            },
        },
    },
};
